body {
  background: #f8f8f8;
}
.app-sports-courseTraining {
  width: 100%;
  height: 100%;
  position: relative;
  .topNav {
    width: 100%;
    height: 60px;
    align-items: flex-end;
    justify-content: space-evenly;
    background: white;
    border-bottom: 1px solid #ccc;
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    a {
      font-size: 14px;
      color: #9c9a9a9a;
      font-weight: bold;
      padding: 10px 15px;
      position: relative;
    }
    .active {
      font-size: 20px;
      color: rgba(66, 148, 255);
    }
    .active::after {
      content: "";
      display: block;
      height: 2px;
      width: 50%;
      background: #00bdff;
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  .newCourse {
    width: 100%;
    padding: 10px;
    h3 {
      line-height: 50px;
    }
    div {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
      img {
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        width: 100%;
        height: 150px;
        object-fit: cover;
      }
      p {
        padding: 0 15px;
        line-height: 30px;
      }
      P:last-child {
        font-size: 12px;
        color: #9a9a9a;
        text-align: justify;
        line-height: 22px;
      }
    }
  }
  .courses {
    width: 100%;
    padding: 10px;
    h3 {
      line-height: 50px;
    }
    .courseLists {
      div {
        padding-top: 60px;
        margin-bottom: 10px;
        height: 140px;
        background: #f8f8f8;
        width: 100%;
        border-radius: 10px;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
        background-size: cover;
        background-repeat: no-repeat;
        color: white;

        p {
          padding: 0 20px;
          line-height: 30px;
          font-weight: bold;
        }
        P:nth-child(2) {
          font-size: 12px;
          font-weight: normal;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2; //行数
          -webkit-box-orient: vertical;
        }
      }
    }
  }
}
